package com.longxi.tianjintianbao.ui.activity.equipment;

import android.widget.TextView;

import com.longxi.tianjintianbao.R;
import com.longxi.tianjintianbao.ui.base.BaseActivity;
import com.longxi.tianjintianbao.ui.presenter.equipment.EquipmentDetailsAtPresenter;
import com.longxi.tianjintianbao.ui.view.equipment.IEquipmentDetailsAtView;

import butterknife.BindView;

public class EquipmentDetailsActivity extends BaseActivity<IEquipmentDetailsAtView, EquipmentDetailsAtPresenter> implements IEquipmentDetailsAtView {

    private final String TAG = "EquipmentDetailsActivity";

    @BindView(R.id.tvAssName)
    TextView mTvAssName;

    @Override
    protected int provideContentViewId() {
        return R.layout.activity_equipment_inspection;
    }

    @Override
    public void initData() {
        super.initData();
        mPresenter.setBar();
        mPresenter.getData();
    }

    @Override
    public void initListener() {
        super.initListener();
    }

    @Override
    protected EquipmentDetailsAtPresenter createPresenter() {
        return new EquipmentDetailsAtPresenter(this);
    }

    @Override
    public TextView getTvAssName() {
        return mTvAssName;
    }
}
